package com.hz.ruoyimotor.api.service;

import com.hz.rouyigonggong.utils.ResultJSON;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @version 1.0
 * @Author gj
 * @Date 2025/3/12 14:39
 * @注释
 */
@FeignClient(value = "ruoyi-lgorder",path = "/api")
public interface LgOrder {
    //获取入库订单
    @GetMapping("/list")
    public ResultJSON getOrderSome( @RequestParam("driverId") Integer driverId);
    //获取出库订单
    @GetMapping("/listgetoutcold")
    public ResultJSON getOutSome( @RequestParam("driverId") Integer driverId);
    @GetMapping("/buyList")
    public ResultJSON getBuyerSome(@RequestParam("buyerPhone") String buyerPhone);
}
